#pragma once

#include <QObject>
#include <QVector>
#include <QMap>
#include "BDShape.h"

class UIReceiver : public QObject
{
	Q_OBJECT

public:

	void OnTestInitialResult(void* ptr);

	void OnPainterRefreshParam(void* ptr);

	void OnDetailRefreshParam(void* ptr);

	static UIReceiver* GetInstance();

	static void Destroy();

signals:

	void QTestInitialResult(const QVector<QString>& tests);

	void QPainterRefreshParam(const QVector<BDShape*>& shapes);

	void QDetailRefreshParam(const QMap<QString, QString>& params);

private:
	UIReceiver();
	~UIReceiver();

	static UIReceiver* m_pInstance;

	

};

